<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;


/**
 * Class Problem
 * @package App\Models
 */
class Store extends Model
{
    use Notifiable;

    const PROBLEM_ERROR = 1;

    const PROBLEM_RIGHT = 2;

    const PROBLEM_SCORE = 3;//每道題的得分

    const PROBLEM_NUM = 5;//每天可以答题的最大次数

    public $timestamps = true;
    protected $table = 'ty_store';
    protected $primaryKey = 'store_id';
    protected $fillable = ['store_type','store_name','store_star_level', 'opening_time', 'closing_time', 'view_phone', 'store_lng_lat','real_lng_lat',
    'location_lng', 'location_lat', 'district_code', 'province', 'city', 'district', 'store_address', 'tag_names', 'activity_names', 'guide_text', 'guide_pic_urls',
        'sell_goods_types', 'review_count', 'store_server_labels', 'store_server_labels2', 'closed', 'is_new', 'is_stick', 'distance'

    ];
    protected $dates = ['created_at', 'updated_at'];

}
